package com.java.comprehensive.other.stream;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Person {
	private String name; // 姓名
	private int salary; // 薪资
	private int age; // 年龄
	private String sex; // 性别
	private String area; // 地区
	// 构造方法

	public Person(String name, int salary, String sex, String area) {
		this.name = name;
		this.salary = salary;
		this.sex = sex;
		this.area = area;
	}

}